/**
 * 全局数据存放
 * 
 */
namespace CommonFrame {
    export class DataPool extends Singleton {
        private _data = {};

        storeData($name, $obj) {
            this._data[$name] = $obj;
        }

        getData($name) {
            return this._data[$name];
        }
    }
}
